function custom(strings,...values){
    console.log(strings,values);

    return values.reduce((finalString,value,index)=>{
        console.log("-----")
        console.log(finalString,'--',value,'--',strings[index+1])
        return `${finalString}${value}${strings[index+1]}`
    },strings[0])
}
const firstName = "Kyle"
const hobby = "weight lifting"
console.log(custom`My name is ${firstName} and I love ${hobby}`)

